projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57bb064
)
tests: [scan-build] Initialize a variable
author
Colin Walters
<walters@verbum.org>
Fri, 18 Oct 2019 14:57:47 +0000
(14:57 +0000)
committer
Colin Walters
<walters@verbum.org>
Fri, 18 Oct 2019 15:07:39 +0000
(15:07 +0000)
False positive.
tests/libostreetest.c
patch
|
blob
|
history
diff --git
a/tests/libostreetest.c
b/tests/libostreetest.c
index 9a2fae09f0a43a4439cb377f68b3a3ff761d157b..1efee40e7842502076be97bf29c1d0f7d5dbf374 100644
(file)
--- a/
tests/libostreetest.c
+++ b/
tests/libostreetest.c
@@
-145,7
+145,7
@@
ot_test_setup_sysroot (GCancellable *cancellable,
g_autoptr(GString) buf = g_string_new ("mutable-deployments");
- gboolean can_relabel;
+ gboolean can_relabel
= FALSE
;
if (!ot_check_relabeling (&can_relabel, error))
return FALSE;
if (!can_relabel)